package org.bb.ssm.mapper;

import java.util.List;

import org.bb.ssm.model.SeeRecord;
import org.bb.ssm.model.UserInfo;

public interface UserInfoMapper {
	
	List<UserInfo> findAll();
	
    int deleteByPrimaryKey(Integer userId);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);
    
    /*取得操作记录*/
    List<UserInfo> queryAllRecord(SeeRecord seeRecord);

    /*取得记录条数信息，通过当前用户的loginId查询*/
    int getCount(String loginId);
}